import http from '../../../util/http.js';

 //====================基础数据模块内部接口


//内部接口控制器对应的URL前缀
const  BasicsPrefix = "/internal/basics";
//获取车辆类型数据字典
export function VehicleTypeDict() {
    let url = `${BasicsPrefix}/vehicle/type/dict`;
    return new Promise((resolve, reject) => {
        http.get(url).then(response => {
            resolve(response.data.result)
        });
    });
}




